<?php
require 'Model.php';
	class UserModel extends Model{
		function __Construct(){
			parent::__Construct();
		}
		function getUserList(){
			/*$data = array(
			array('uname'=>'jason','gender'=>'男'),
			array('uname'=>'jack','gender'=>'男')
			);*/
			$sql = "select * from users";
		    $data = $this->conn->query($sql);
			return $data;
		}
	}
?>